<?php
namespace app\admin\controller;
use think\Controller;
class User extends Controller
{
		//登录页显示
	public function login()
	{
		return $this->fetch();
	}
		//注销方法
	public function logout()
	{
		session_start();
		unset($_SESSION['user']);
		return $this->fetch('login');
	}
	//注册页显示
	public function register()
	{
		return $this->fetch();
	}

		//修改密码页面
	public function password_modify()
	{
		return $this->fetch();
	}
}